          /* RESET ET STYLES DE BASE */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Assurer la priorité d'affichage pour la navigation */
.navbar {
    position: fixed;
    z-index: 10000;
}

.backdrop {
    z-index: 9999;
}

/* SECTION HEADER CONTACT */
.contact-header {
    height: 60vh;
    background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.85)), url('./Assets/images/contact/contact-bg.jpg') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 76px;
    padding-left: 0px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.contact-header .intro-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}


/* SECTION PRINCIPALE DE CONTACT */
.contact-main {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.contact-card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    opacity: 0.2;
    transform: scale(1.2);
}

.contact-card-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
    position: relative;
    z-index: 1;
}

.contact-card h3 {
    font-size: 24px;
    color: #0d47a1;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.contact-info a:hover {
    color: #0d47a1;
}

.contact-address {
    color: #666;
    line-height: 1.8;
}

/* SECTION RÉSEAUX SOCIAUX */
.social-contact-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.social-contact-section h2 {
    font-size: 36px;
    color: #0d47a1;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.social-contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0d47a1;
}

.social-contact-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link-large::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link-large:hover::before {
    transform: scale(1);
}

.social-link-large img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(1638%) hue-rotate(213deg) brightness(97%) contrast(101%);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link-large:hover img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* Couleurs spécifiques pour chaque réseau social */
.social-link-large.facebook {
    background-color: rgba(59, 89, 152, 0.1);
}

.social-link-large.linkedin {
    background-color: rgba(0, 119, 181, 0.1);
}

.social-link-large.twitter {
    background-color: rgba(29, 161, 242, 0.1);
}

.social-link-large.instagram {
    background-color: rgba(225, 48, 108, 0.1);
}


/* RESPONSIVE DESIGN */
@media screen and (max-width: 992px) {
    .navbar {
        z-index: 10000;
    }
    
    .backdrop {
        z-index: 9999;
    }

    .contact-header {
        justify-content: flex-start;
        text-align: left;
        padding-left: 50px; /* Augmenté pour rapprocher du bord gauche */
    }

    .contact-header .container {
        padding-left: 0; /* Enlever le padding du container pour plus d'espace */
        margin-left: 0;
    }

    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .social-contact-section h2::after {
        left: 0;
        transform: none;
    }

    .social-contact-section {
        text-align: left;
    }

    .social-contact-section h2 {
        display: block;
    }

    .social-links-large {
        justify-content: flex-start;
    }

}

@media screen and (max-width: 768px) {
    .navbar {
        z-index: 10000;
    }
    
    .backdrop {
        z-index: 9999;
    }

    .contact-header {
        height: 50vh;
        padding-top: 100px;
        justify-content: flex-start;
        text-align: left;
        padding-left: 40px; /* Rapproché encore plus du bord */
    }

    .contact-header .container {
        padding-left: 0;
        margin-left: 0;
        width: 100%;
    }

    .contact-header h1 {
        font-size: 36px;
        margin-left: -20px; /* Décaler vers la gauche */
    }

    .contact-header .intro-text {
        font-size: 18px;
        margin-left: -20px; /* Décaler vers la gauche */
        max-width: 90%;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .social-links-large {
        gap: 20px;
    }

    .social-link-large {
        width: 70px;
        height: 70px;
    }

    .social-link-large img {
        width: 35px;
        height: 35px;
    }

}

@media screen and (max-width: 576px) {
    .navbar {
        z-index: 10000;
    }
    
    .backdrop {
        z-index: 9999;
    }

    .contact-header {
        justify-content: flex-start;
        text-align: left;
        padding-left: 25px; /* Très proche du bord sur petits écrans */
    }

    .contact-header .container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .contact-header h1 {
        /*font-size: 28px;*/
        margin-left: -5px; /* Encore plus proche du bord */
    }

    .contact-header .intro-text {
        /*font-size: 16px;*/
        margin-left: -5px; /* Encore plus proche du bord */
        max-width: 85%;
    }

    .contact-card {
        padding: 25px 15px;
    }

    .contact-card-icon {
        width: 70px;
        height: 70px;
    }

    .contact-card-icon svg {
        width: 35px;
        height: 35px;
    }

    .social-link-large {
        width: 60px;
        height: 60px;
    }

    .social-link-large img {
        width: 30px;
        height: 30px;
    }

}
